package com.cyh.core.login.service.user;

import com.cyh.core.framework.domain.dto.ResultDTO;
import com.cyh.core.framework.domain.dto.SimpleQueryDTO;
import com.cyh.core.login.entity.User;

import java.util.List;


public interface IUserService {

    public ResultDTO userLogin(User user);

    public ResultDTO userUpdate(User user);

    public ResultDTO userCreate(User user);

    public User getUserFromToken(String token);

    public User getCurrentUser();

    public boolean userLogOut(String token);

    public List<User> advancedSearch(SimpleQueryDTO simpleQueryDTO);

}
